Ioctls rooted through
audioioctl ()
The following set of ioctls are all implemented through a call to
the
cdromfops function
audioioctl (). Memory checks and
allocation are performed in
cdromioctl (), and also sanitization of
address format (CDROMLBA/CDROMMSF) is done.
- CDROMSUBCHNL
- Get sub-channel data in argument arg of type
structI>cdromsubchnl*.
- CDROMREADTOCHDR
- Read Table of Contents header, in arg of type
struct cdromtochdr*.
- CDROMREADTOCENTRY
- Read a Table of Contents entry in arg and
specified by arg of type
struct cdromtocentry*.
- CDROMPLAYMSF
- Play audio fragment specified in Minute, Second,
Frame format, delimited by arg of type
struct cdrommsf*.
- CDROMPLAYTRKIND
- Play audio fragment in track-index format
delimited by arg of type
structcdromti*.
- CDROMVOLCTRL
- Set volume specified by arg of type
structI>cdromvolctrl*.
- CDROMVOLREAD
- Read volume into by arg of type
structI>cdromvolctrl*.
- CDROMSTART
- Spin up disc.
- CDROMSTOP
- Stop playback of audio fragment.
- CDROMPAUSE
- Pause playback of audio fragment.
- CDROMRESUME
- Resume playing.